package com.zhy.learning.demo.service;

import com.zhy.learning.demo.pojo.User;

import java.util.List;

/**
 * @author zhy
 * @version 1.0.0
 * @ClassName UserService.java
 * @Description TODO
 * @createTime 2021年09月01日 19:47:00
 */
public interface UserService {

    User selectById(int id);

    List<User> selectAll();

    int insert(User user);

    int update(User user);

    int deleteById(int id);

    User findByName(String name);


}
